package indi.woniu.mapper;

import indi.woniu.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: GaN601
 * @Date: 2021/12/22 15:09
 * @Description:
 */
@Repository
public interface RoleMapper {
    /**
     * 查询所有角色
     *
     * @return 结果集
     */
    List<Role> selectRoleAllPaths();
    
    List<Role> selectRoleAllPaths(String name);
    
    Role selectRoleById(Integer id);
    
}
